package com.zwl.sjzmanagement.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zwl.model.Armors;
import com.zwl.model.Materials;
import com.zwl.sjzmanagement.mapper.ArmorsMapper;
import com.zwl.sjzmanagement.mapper.MaterialMapper;
import com.zwl.sjzmanagement.service.ArmorsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArmorsServiceImpl extends ServiceImpl<ArmorsMapper, Armors> implements ArmorsService {

    @Autowired
    private ArmorsMapper armorsMapper;


    @Override
    public List<Armors> getArmorsList(IPage<Armors> page) {
        List<Armors> armorsList = armorsMapper.getArmorsList(page);
        return armorsList;
    }




}
